import type { App } from 'vue';
import { EcDialog } from '@/components/dialog';
import { DictTag } from '@/components/dict-tag'
import { DictSelect } from '@/components/dict-select'
import { SvgIcon } from '@/components/icon'
import { TreeSelect } from '@/components/tree-select';

export function setupGlobCom(app: App) {
  app.component('EcDialog', EcDialog)
  app.component('DictTag', DictTag)
  app.component('DictSelect', DictSelect)
  app.component('TreeSelect', TreeSelect)
  app.component('SvgIcon', SvgIcon)
}
